home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- if(!_root.fire)
- {
- _root.bonus = int(Math.abs(200 + bar._x) * 5);
- if(Key.isDown(39) && _root.tinMove.dead == true)
- {
- _root.tinMove = new Timer(goToTin,1,false);
- }
- else
- {
- turn--;
- if(turn < -10)
- {
- if(_root.back3._x + 12 < 0)
- {
- _root.back3._x += 12;
- _root.back2._x += 2.4;
- _root.back1._x += 1.2;
- _root.retract = true;
- }
- else
- {
- _root.back3._x = 0;
- _root.back2._x = 0;
- _root.back1._x = 0;
- _root.retract = false;
- }
- }
- }
- }
- }
-